package com.lingz.manager.modules.base.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.lingz.manager.base.DevplatBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author fyc
 */
@lombok.Data
@Entity
@Table(name = "t_data")
@TableName("t_data")
@ApiModel(value = "资料")
public class Data extends DevplatBaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "资料类型")
    private String type;

    @ApiModelProperty(value = "附件")
    private String attachment;

    @ApiModelProperty(value = "备注")
    private String remark;

}